
 /**
  * @description: 正则验证字典
  */

  
 const $_regexp = {
    phone: /^1[3456789]\d{9}$/,
    email: /^([A-Za-z0-9_\-.])+@([A-Za-z0-9_\-.])+\.([A-Za-z]{2,4})$/,
    pass: /^[A-Za-z0-9]{6,20}$/,
    realName: /^[\u4E00-\u9FA5\uf900-\ufa2d·s]{2,20}$/,
    ID: /^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|31)|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}([0-9]|x|X)$/
}


module.exports = {
    $_regexp
}